﻿using MediatR;
using RearLivestock.Common.Domains.Enum;
using RearLivestock.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace RearLivestock.RBAC.Api.Application.zjyApplication.Commands.Permissionses
{
    public class CreatePermissionsCommand : IRequest<Result>
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        public int PermissionsId { get; set; }

        /// <summary>
        /// 权限功能
        /// </summary>
        public string PermissionsFunction { get; set; } = string.Empty;


        /// <summary>
        /// URL 路径
        /// </summary>
        public string URL { get; set; } = string.Empty;

        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentLevelId { get; set; }
    }
}
